﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Runtime;
using System.Text;
using System.Threading.Tasks;

namespace GuanYijia.DoMain
{
    /// <summary>
    /// 仓库
    /// </summary>
    public class Warehouse
    {
        [Key]
        //主键
        public int depot_id { get; set; }
        //仓库名称
        [StringLength(50)]
        public string?  depot_name { get; set; }
        //仓库地址
        [StringLength(50)]
        public string? depot_address { get; set; }
        //仓储费
        public decimal? warehousing { get; set; }
        //搬运费
        public decimal? truckage { get; set; }
        //类型
        public int? type { get; set; }
        //排序
        [StringLength(5)]
        public string? sort { get; set; }
        //描述
        [StringLength(200)]
        public string? remark { get; set; }
        //负责人
        public int? principal_id { get; set; }
        //启用
        public bool enabled { get; set; } = false;
        //租户id
        public int? tenant_id { get; set; }
        //删除标记，0未删除，1删除，默认0
        public bool delete_Flag { get; set; } = false;
        //是否默认
        public bool is_default { get; set; } = false;
    }
}
